package com.mzp.XbShop.mapper;

import com.mzp.XbShop.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserMapper extends JpaRepository<User,String> {
    User findByUsername(String username);

    User findByEmail(String email);

    User findByWechat(String openid);
}
